package ModelImplementation

import "SoftwareEngineering/Model"

type DirectMethod struct{
	itsBank string
	itsAccount string
}

func(d DirectMethod) DirectMethod(bank string, account string) DirectMethod{
	d.itsBank = bank
	d.itsAccount = account
	return d
}

func(d DirectMethod) GetBank() string{
	return d.itsBank
}

func(d DirectMethod) GetAccount() string{
	return d.itsAccount
}

func(d DirectMethod) Pay(pc Model.Paycheck){
	pc.SetField("Disposition", "Direct")
}
